package com.yunzhi.net.callback;



import com.yunzhi.net.entity.BaseResponse;

import io.reactivex.disposables.Disposable;

/**
 * Author by Mr.Meng
 * created 2019/5/15
 *
 * @desc
 */
public interface ObserverCallback<T extends BaseResponse> {

    void disposable(Disposable disposable);

    void onSuccess(T model);

    void onError(int code, String msg);
}
